package com.qzsoft.zhjd.machine.modules.machinerepair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.machine.modules.machinerepair.dto.MachineRepairDto;
import com.qzsoft.zhjd.machine.modules.machinerepair.entity.MachineRepairEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author HuXiuMing
 * @date 2021/10/21 16:12
 */
@Mapper
public interface MachineRepairMapper extends BaseMapper<MachineRepairEntity> {

    /**
     * @Title queryDto
     * @Description 获取加油记录分页数据
     * @param page   分页条件
     * @param params 查询条件
     * @return 加油记录分页数据
     */
    public IPage<MachineRepairDto> queryDto(IPage<MachineRepairDto> page, @Param("params") Map<String, Object> params);

}
